﻿namespace ExecuteFFmpegCommand
{
    /// <summary>
    /// 录制列表
    /// </summary>
    public class RecordingListInfo
    {
        /// <summary>
        /// 主播名
        /// </summary>
        public string Name { get; set; } = null!;
        /// <summary>
        /// 流地址
        /// </summary>
        public string Url { get; set; } = null!;
        /// <summary>
        /// 保存路径
        /// </summary>
        public string OutputFileDirectory { get; set; } = null!;
        /// <summary>
        /// 文件名
        /// </summary>
        public string FileName { get; set; } = null!;
        /// <summary>
        /// 扩展名
        /// </summary>
        public string FileExtentionl { get; set; } = ".flv";
        /// <summary>
        /// 当前分辨率
        /// </summary>
        public string CurrentResolution { get; set; } = "0x0";
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime CompleteTime { get; set; }
        /// <summary>
        /// 状态 0.未知 1.录制中 2.录制完成 3.分辨率改变停止 4.手动停止 
        /// </summary>
        public int Status { get; set; }


    }
}
